<?php
header('Content-type:text/html;charset=utf8');
/**
 * xysc users Version1.0
 * ==================================
 * Copy 2016-2017
 * Web:www.xjh7.com
 * ==================================
 * Author:xjh
 * Date:2016-3-1
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="stylesheet"  href="<?php echo backweb_CSS_URL;?>index.css" />
<link rel="stylesheet"  href="<?php echo backweb_CSS_URL;?>common.css" />
</head>
<body>
		<div class="place" >
		<span>位置：</span>
			<ul class="placeul">
				<li><a href="#">首页</a></li>
				<li><a href="./index.php?r=backweb/store/storeTop">店铺列表</a></li>
				<li><a href="./index.php?r=backweb/store/storerec">推荐列表</a></li>
			</ul>
		</div>
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="list_table">
		<form action="./index.php?r=backweb/store/storerec"  method="post" id="f">
				<tr>
					<th>编号<th>商品名</th><th>推荐</th>
			    </tr>
			    <?php $i = 0;foreach($goods_info as $_v){?>
			    <?php $i++;?>
			    <tr class="td_center">
			    	<td class="td_center"><?php echo $i?></td>
			    	<input type="hidden" name="goods_id[]"  value="<?php echo $_v['goods_id']?>" />
			    	<td class="td_center"><?php echo $goodsname[$_v['goods_id']]?></td>
			    	<td class="td_center"><a  href="./index.php?r=backweb/store/storerec&goods_id=<?php echo $_v['goods_id']?>&rec=<?php echo $_v['rec']?>"><?php if($_v['rec']){ echo '<span class="yes">　　</span>';}else{echo '<span class="no">　　</span>';}?></a></td>
			    </tr>
			    <?php }?>
		</form>
			</table>
</body>
</html>